<template>
	<view class="lines-list">
		<slot></slot>
		<view class="lines-list_item" v-for="index in 8" :key="index" @click="$rui.route('/pages/trip/detail/detail')">
			<view class="lines-list_item_left">
				<view class="lines-list_item_left_category">
					自由行
				</view>
				<image src="/static/images/lines.jpg" class="lines-list_item_left_img" mode=""></image>
			</view>
			<view class="lines-list_item_info">
				<view class="lines-list_item_info_title">
					乌鲁木齐+布尔津+禾木+赛里木湖
				</view>
				<view class="lines-list_item_info_scenery">
					包含3个景点， 天山天池+吐峪沟麻扎村+库车王府
				</view>
				<view class="lines-list_item_info_tag">
					<view class="lines-list_item_info_tag_item">
						2日游
					</view>
					<view class="lines-list_item_info_tag_item">
						人文风情
					</view>
					<view class="lines-list_item_info_tag_item">
						南疆深度游
					</view>
				</view>
				<view class="lines-list_item_info_number">
					13人出行
				</view>
				<view class="lines-list_item_info_price">
					<view class="price">3999</view>
				</view>

			</view>
		</view>
	</view>
</template>

<script>

</script>

<style lang="scss" scoped>
	.lines-list {
		background: #fff;
		padding: 10rpx 0;
		// border-top-right-radius: 30rpx;
		// border-top-left-radius: 30rpx;

		&_item {
			display: flex;
			justify-content: space-between;
			margin: 30rpx 20rpx;

			&_info {
				width: calc(100% - 270rpx);

				&_price {
					display: flex;
					justify-content: flex-end;
				}

				&_number {
					font-size: 24rpx;
					color: #666;
					margin: 15rpx 0;
				}

				&_tag {
					display: flex;
					margin: 15rpx 0;

					&_item {
						border: 1rpx solid #ddd;
						font-size: 24rpx;
						margin-right: 10rpx;
						padding: 2rpx 6rpx;
						color: #666;
					}
				}

				&_title {
					font-weight: bold;
					font-size: 32rpx;
					display: -webkit-box;
					-webkit-box-orient: vertical;
					-webkit-line-clamp: 2;
					overflow: hidden;
					margin-bottom: 15rpx;
				}

				&_scenery {
					color: var(--color);
					font-size: 28rpx;
					display: -webkit-box;
					-webkit-box-orient: vertical;
					-webkit-line-clamp: 2;
					overflow: hidden;
				}
			}

			&_left {
				overflow: hidden;
				width: 250rpx;
				border-radius: 20rpx;
				position: relative;
				height: 360rpx;

				&_img {
					height: 100%;
				}

				&_category {
					position: absolute;
					top: 0;
					left: 0;
					border-bottom-right-radius: 20rpx;
					background: rgba(0, 0, 0, .5);
					color: #fff;
					font-size: 24rpx;
					padding: 6rpx 15rpx;

				}
			}
		}
	}
</style>